package com.future.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("答题详情")
@Accessors(chain = true)
public class AnswerDetail {
    @TableId(type = IdType.AUTO)
    private Long id;
    @ApiModelProperty("答卷id")
    private Long answerSheetId;
    @ApiModelProperty("问题id")
    private Long questionId;
    /**
     * 所选选项id，多个用逗号分隔
     */
    private String sortOrder;
    /**
     * 创建时间
     */
    private LocalDateTime createdAt;
}
